package com.ibuonline.b2b.shop.service;

import java.io.File;
import java.util.List;

import com.dimeng.common.base.BaseService;
import com.ibuonline.b2b.entity.ShopTemplate;
import com.ibuonline.b2b.entity.ShopTemplateCategory;

public interface ShopTemplateService extends BaseService<ShopTemplate> {
	public List<ShopTemplateCategory> getAllShopTemplateCategory();
	public List<ShopTemplateCategory> loadShopTemplateCategory();
	public void saveShopTemplate(ShopTemplate shopTemplate, File shopStylePhoto, String shopStylePhotoFileName);
	public int countRecord(ShopTemplate st);
	public List<ShopTemplate> pagingShopTemplate(ShopTemplate st, int start, int size);
	public void generateCatName(List<ShopTemplateCategory> templateCategorys, ShopTemplate shopTemplate);
	public List<ShopTemplate> loadFreeShopTemplate();
}
